﻿using MediatR;
using THE_WIND_RISES.Common.Dtos;

namespace Production_Set.API.MaterialManagement.Add
{
    public class RowMaterialPlanningCreateCommon : IRequest<Result>
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int PlanningRow { get; set; }
        /// <summary>
        /// 物料选择id
        /// </summary>
        public int ChooseId { get; set; }
        /// <summary>
        /// 物料属性id
        /// </summary>
        public int AttributeRowId { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 规格名称
        /// </summary>
        public string Spec { get; set; }
        /// <summary>
        /// 计划数量
        /// </summary>
        public int PlanningNum { get; set; }
        /// <summary>
        /// 计划开工日期
        /// </summary>
        public DateTime PlanningStartDate { get; set; }
        /// <summary>
        /// 计划完工日期
        /// </summary>
        public DateTime PlanningEndDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Markment { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Handle { get; set; }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string HandleContext { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime HandleTime { get; set; }
        /// <summary>
        /// pid=1:创建   pid=2:审批   pid=3:删除   pid=4:修改  
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
